Optimal. Leaf size=24 \[ \frac{2 \tanh ^{-1}\left (\frac{b x}{\sqrt{b^2 x^2+b x}}\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0077753, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {620, 206} \[ \frac{2 \tanh ^{-1}\left (\frac{b x}{\sqrt{b^2 x^2+b x}}\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 620
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{b x+b^2 x^2}} \, dx &=2 \operatorname{Subst}\left (\int \frac{1}{1-b^2 x^2} \, dx,x,\frac{x}{\sqrt{b x+b^2 x^2}}\right )\\ &=\frac{2 \tanh ^{-1}\left (\frac{b x}{\sqrt{b x+b^2 x^2}}\right )}{b}\\ \end{align*}
Mathematica [A] time = 0.0203353, size = 45, normalized size = 1.88 \[ \frac{2 \sqrt{x} \sqrt{b x+1} \sinh ^{-1}\left (\sqrt{b} \sqrt{x}\right )}{\sqrt{b} \sqrt{b x (b x+1)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.057, size = 37, normalized size = 1.5 \begin{align*}{\ln \left ({ \left ({\frac{b}{2}}+{b}^{2}x \right ){\frac{1}{\sqrt{{b}^{2}}}}}+\sqrt{{b}^{2}{x}^{2}+bx} \right ){\frac{1}{\sqrt{{b}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.15796, size = 59, normalized size = 2.46 \begin{align*} -\frac{\log \left (-2 \, b x + 2 \, \sqrt{b^{2} x^{2} + b x} - 1\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b^{2} x^{2} + b x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.80615, size = 49, normalized size = 2.04 \begin{align*} -\frac{\log \left ({\left | -2 \,{\left (x{\left | b \right |} - \sqrt{b^{2} x^{2} + b x}\right )}{\left | b \right |} - b \right |}\right )}{{\left | b \right |}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]